package daemon;

import framework.security.password.PasswordServiceDefault;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import security.service.AuthServiceImpl;

@Import({AuthServiceImpl.class, PasswordServiceDefault.class})
@SpringBootApplication(scanBasePackages = {"framework", "system", "daemon"})
public class DaemonApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(DaemonApplication.class);
        application.setWebApplicationType(WebApplicationType.NONE);
        application.run(args);
    }

}